package com.hoshiibuy.purchase.service;

import com.hoshiibuy.purchase.entity.Po;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiibuy.purchase.entity.Po;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author campchen
 * @since 2019-05-15
 */
public interface PoService extends IService<Po> {

    Po getById(Long id);

    boolean save(Po entity);

    boolean updateById(Po entity);

    IPage<Po> page(IPage<Po> page, Wrapper<Po> queryWrapper);

    boolean deleteById(Po entity);
}
